<template>
    <fieldset>
        <legend>使用1</legend>
        <button @click="showModal">点击显示模态框1</button>
        <h2>二愣子睁开了眼睛</h2>
        <Modal :visible="visible" @onOk="handleOk" @cancel="handleCancel">
            <template v-slot:title>
                <h1>凡人修仙传</h1>
            </template>
            <template v-slot:body>
                <h5>二愣子睁大着双眼，直直望着茅草和烂泥糊成的黑屋顶，身上盖着的旧棉被，已呈深黄色，看不出原来的本来面目，还若有若无的散发着淡淡的霉味。</h5>
            </template>
        </Modal>
    </fieldset>
</template>
<script>
    import modalMix from "../mixins/modalMix"
    export default {
        mixins: [modalMix]
    }

</script>